package com.jic.data.model.entity;

import com.jic.common.base.vo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@ApiModel(description = " member_age_sts ")
public class MemberAgeSts extends BaseEntity {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(notes = "id")
    private Long id;

    @ApiModelProperty(notes = "渠道id")
    private Long channelId;

    @ApiModelProperty(notes = "渠道名称")
    private String channelName;

    @ApiModelProperty(notes = "平台id")
    private Long platformId;

    @ApiModelProperty(notes = "平台名称")
    private String platformName;

    @ApiModelProperty(notes = "店铺id")
    private Long storeId;

    @ApiModelProperty(notes = "店铺名称")
    private String storeName;

    @ApiModelProperty(notes = "分段统计数据,[{\"agePeriod\":\"小于10\",\"memberNumber\":1000},{\"agePeriod\":\"10-15\",\"memberNumber\":2000}...]")
    private String periodStsData;

    @ApiModelProperty(notes = "人数，该统计维度下的人数")
    private Integer memberNumber;

    @ApiModelProperty(notes = "统计日期")
    private Date stsDate;

    @ApiModelProperty(notes = "更新人")
    private Long updator;

}
